﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace imaginecup
{
    /// <summary>
    /// 用来不同Usercontrol之间相互交互
    /// 比如说点击Message后地图在相应位置定位
    /// </summary>
    public class Public
    {
        public static MainPage p;

        public static double getLevelLength(int l)
        {
            return 0.17578125*4*8/(Math.Pow(2,l));
        }
    }
}
